package demo1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/demo1")
public class LoginCtrl {
    @RequestMapping("/login")
    String login(String name,String pass){
        System.out.println("name:"+name+",pass:"+pass);
        return "success";
    }
}
